home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
rbbs_pc
/
dc174v11.zip
/
R-PCDROP.MRG
< prev
next >
Wrap
Text File
|
1992-07-18
|
6KB
|
148 lines
* ------------[ BLED merge (c) Ken Goosens ]-------------
* Merge this against RBBS-PC.BAS to produce RBBS-PC.NEW
* RBBS-PC.BAS: Date 6-20-1992 Size 147219 bytes
* DROP174 (c) 1992 by Richie Molinelli
* ------------[ Created 07-18-1992 10:21:51 ]------------
* REPLACING old line(s) by new
4857 GOSUB 12976
IF (NOT ZSysop) AND (ZUserSecLevel < ZSecKillAny) THEN _
RETURN
UserWork = (ZHighestUserRecord * .95) + 1
IF ZMsgsCanGrow THEN _
ZWasY$ = " open" _
ELSE ZWasY$ = STR$(HighestMsgRecord + 1 - ZMaxNodes - ZNextMsgRec)
ZOutTxt$ = "USERS: used" + _
STR$(CurUserCount - 1) + _
" avl" + _
STR$(UserWork - CurUserCount) + _
" MSGS: used" + _
STR$(ActiveMessages) + _
" avl" + _
STR$(MaxMsgs - ActiveMessages) + _
" MSG REC: used" + _
STR$(ZNextMsgRec - 1) + _
" avl" + ZWasY$
GOSUB 12976
* ------[ first line different ]------
ZOutTxt$ = "Dropped Carriers: " + STR$(ZDropTimes) + _ ' DROP174
" Reset at: " + STR$(ZDropCarSecChng) ' DROP174
CALL QuickTPut1 (ZOutTxt$) ' DROP174
ZWasZ$ = ZUpldDriveFile$
CALL FindFree
CALL QuickTPut1 ("Upload disk has" + ZFreeSpace$)
RETURN
* REPLACING old line(s) by new
5350 IF ZConfName$ <> "MAIN" THEN _
CALL QuickTPut1 ("Rejoining " + OrigMsgName$)
CALL DeLink (ZConfName$)
ConfFileName$ = OrigMsgName$
ZNewsFileName$ = OrigNewsFileName$
TurboLogon = ZTrue
ZMarkedMsgs$ = ""
ZWasQ = 0
ZNewUser = ZFalse
ZInConfMenu = ZTrue
IF ZActiveUserName$ = "SYSOP" THEN _
ZActiveUserName$ = ZSecretName$ : _
CALL Trim (ZActiveUserName$)
ZConfigFileName$ = ZOrigCnfg$
CALL ReadDef (ZConfigFileName$)
IF ZOrigMsgFile$ <> ZActiveMessageFile$ THEN _
ZActiveMessageFile$ = ZOrigMsgFile$ : _
GOSUB 5343
IF ZOrigUserFile$ <> ZActiveUserFile$ THEN _
GOSUB 5380 : _
ZActiveUserFile$ = ZOrigUserFile$ : _
ZActiveUserName$ = ZOrigUserName$ : _
GOSUB 12598 : _
GOSUB 12990 : _
IF Found THEN _
GOSUB 9500 : _
ZMainUserFileIndex = ZUserFileIndex : _
CALL SetPrompt : _
CALL XferType (2,ZTrue) _
ELSE ZUserFileIndex = 0 : _
ZMainUserFileIndex = 0
CALL UpdtCalr ("Exited " + ZConfName$,3)
ZConfName$ = "MAIN"
ConfNameSave$ = ZConfName$
GOSUB 2350
ZUplds = ZGlobalUplds
ZDnlds = ZGlobalDnlds
ZDLToday! = ZGlobalDLToday!
ZBytesToday! = ZGlobalBytesToday!
ZDLBytes! = ZGlobalDLBytes!
ZULBytes! = ZGlobalULBytes!
* ------[ first line different ]------
ZDropTimes = ZGlobalDropTimes ' DROP174
ZBankTime = ZGlobalBankTime
* REPLACING old line(s) by new
9450 IF LOF(5) < 1 THEN _
ZWasDF$ = ZActiveUserFile$ : _
RETURN 13600
FIELD 5,31 AS ZUserName$, _
15 AS ZPswd$, _
2 AS ZSecLevel$, _
14 AS ZUserOption$, _
24 AS ZCityState$, _
* ------[ first line different ]------
1 AS MachineType$, _ ' DROP174
1 AS ZDropTimes$, _ ' DROP174
1 AS ZBankTime$,_
4 AS ZTodayDl$, _
4 AS ZTodayBytes$, _
4 AS ZDlBytes$, _
4 AS ZULBytes$, _
14 AS ZLastDateTimeOn$, _
3 AS ZListNewDate$, _
2 AS ZUserDnlds$, _
2 AS ZUserUplds$, _
2 AS ZElapsedTime$
FIELD 5,128 AS ZUserRecord$
RETURN
'
' * GET USER DEFAULTS
'
* REPLACING old line(s) by new
11110 ZOutTxt$ = "D)el F)ind M)enu N)ewPW P)rnt R)eset Grfx C)" _
+ ZUserLocation$ + " Q)uit" ' KG021602
CALL TopPrompt
* ------[ first line different ]------
ZOutTxt$ = "S)ecLvl U)ser# X)fer Cnts T)ime Used B)ank Acct " + _ ' DROP174
"!)Carriers" ' DROP174
IF ZRestrictByDate THEN _
ZOutTxt$ = ZOutTxt$ + _
" $)RegDate"
GOSUB 12930
IF NOT ScanUsers AND ZWasQ = 0 THEN _
GOTO 11310
* REPLACING old line(s) by new
11115 ZWasZ$ = LEFT$(ZUserIn$(ZAnsIndex),1)
CALL AllCaps (ZWasZ$)
* ------[ first line different ]------
WasX = INSTR("DNPQFSMR$UXTBC!",ZWasZ$) ' DROP174
IF ZWasZ$ = "" AND ScanUsers THEN _
GOTO 12965
ON WasX GOTO 11130,11160,11220,11320,11340,11390,11330, _
11400,11450,11127,11490,11420,11423,11190, _ ' DROP174
11424 ' DROP174
GOTO 11110
* REPLACING old line(s) by new
11423 ' * B - COMMAND FROM 5 - BANKED TIME
Temp = ASC(ZBankTime$)
CALL ChangeInt (ZTrue,"Banked Time",Temp,0,255)
IF ZWasQ <> 0 THEN _
LSET ZBankTime$ = CHR$(ZTestedIntValue)
GOTO 11290
* ------[ first line different ]------
* INSERTING new line(s)
11424 ' * ! - COMMAND FROM 5 - DROPPED CARRIERS ' DROP174
Temp = ASC(ZDropTimes$) ' DROP174
CALL ChangeInt (ZTrue,"Dropped Carriers",Temp,0,255) ' DROP174
IF ZWasQ <> 0 THEN _ ' DROP174
LSET ZDropTimes$ = CHR$(ZTestedIntValue) ' DROP174
GOTO 11290 ' DROP174
'
' * $ - COMMAND FROM 5 - USER MAINTENANCE (CHANGE REGISTRATION DATE)
'